﻿#ifndef CMDDOPRJTREECOPYDIR_H
#define CMDDOPRJTREECOPYDIR_H

#include "CommandManager/CommandBase.h"
#include <QObject>

namespace PostCommand
{
    class CmdDoPrjTreeCopyDir : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdDoPrjTreeCopyDir();
        ~CmdDoPrjTreeCopyDir();

        bool execute() override;
        void undo() override;
        void redo() override;
        void setIndex(int index) { m_index = index; }

    private:
        int m_index;
    };
} // namespace PostCommand
#endif // !CMDDOPRJTREECOPYDIR
